package com.yt.phone.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.yt.phone.models.bo.HistorySaveBO;
import com.yt.phone.models.dto.HistoryDTO;
import com.yt.phone.models.dto.HistoryDTO;

import java.util.List;

/**
 * 通话记录信息服务
 *
 * @author lizicong
 * @Date 2025-11-05 23:39:45
 */
public interface IHistoryService extends IService<HistoryDTO> {
    boolean add(HistorySaveBO saveBO);
    List<HistoryDTO> gethistoryList();
    Page<HistoryDTO> getpagehistoryList(int page);

    List<HistoryDTO> searchgethistoryList(String keyword);
    List<HistoryDTO> getcallinghistoryByUserId(Long userId);
    List<HistoryDTO> getcalledhistoryByUserId(List<String> userNumbers );
}
